package com.yzy.fly.entity.core;

import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import lombok.Data;

import java.io.Serializable;
@Data
@TableName(value = "fly_class_annotation", autoResultMap = true)
public class FlyClassAnnotation implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String descriptor;
    private String visible;
    @TableField(value = "attributes",typeHandler = FastjsonTypeHandler.class)
    private JSONArray attributes;

}
